<?php

interface IUserMapper {

    public function findUser($email, $pass, $key);
    public function userExists_byIdAndPass($userID, $pass, $key);
    public function findUsersByParams($params);
    public function addUser($publicName, $email, $password/*, $firstName, $lastName*/);
    public function updateUser($idUser, $data);
    public function getFriendsByUserID($idUser);
    public function getRequestsByUserID($idUser);
    public function addRequest($idUser, $idFriend);
    public function userExists_byPublicName($publicName);

}
